﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZoneLineNew.Attributes;
using ZoneLineNew.Models.Entity.StationResult;

namespace ZoneLineNew.Models.StationResult.QOPStation {

    /// <summary>
    /// 弹簧测高工位
    /// </summary>
    /// <remarks>
    /// <para>StationCode：OP570</para>
    /// <para>IP：192.168.10.75</para>
    /// </remarks>
    public class QOP010StationResult : StationResultBase {

        private float _pressPosition;
        /// <summary>
        /// 压机位置
        /// </summary>
        [DgColumnAttr("压机位置")]
        public float PressPosition {
            get { return _pressPosition; }
            set => SetProperty(ref _pressPosition, value);
        }

        private float _pressForce;
        /// <summary>
        /// 压机压力
        /// </summary>
        [DgColumnAttr("压机压力")]
        public float PressForce {
            get { return _pressForce; }
            set => SetProperty(ref _pressForce, value);
        }


        #region 批次码追溯

        private string _nutScanCode;
        /// <summary>
        /// 螺母批次码
        /// </summary>
        [DgColumnAttr("螺母批次码")]
        public string NutScanCode {
            get { return _nutScanCode; }
            set => SetProperty(ref _nutScanCode, value);
        }

        private string _bufferMatScanCode;
        /// <summary>
        /// 缓冲垫批次码
        /// </summary>
        [DgColumnAttr("缓冲垫批次码")]
        public string BufferMatScanCode {
            get { return _bufferMatScanCode; }
            set => SetProperty(ref _bufferMatScanCode, value);
        }

        private string _upwardSupportScanCode;
        /// <summary>
        /// 上支撑批次码
        /// </summary>
        [DgColumnAttr("上支撑批次码")]
        public string UpwardSupportScanCode {
            get { return _upwardSupportScanCode; }
            set => SetProperty(ref _upwardSupportScanCode, value);
        }

        private string _bufferBlockScanCode;
        /// <summary>
        /// 缓冲块批次码
        /// </summary>
        [DgColumnAttr("缓冲块批次码")]
        public string BufferBlockScanCode {
            get { return _bufferBlockScanCode; }
            set => SetProperty(ref _bufferBlockScanCode, value);
        }

        private string _dustCoverScanCode;
        /// <summary>
        /// 防尘罩批次码
        /// </summary>
        [DgColumnAttr("防尘罩批次码")]
        public string DustCoverScanCode {
            get { return _dustCoverScanCode; }
            set => SetProperty(ref _dustCoverScanCode, value);
        }
        #endregion


    }
}
